package com.none.web.model;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * TCodes entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "t_activity_image")
public class TActivityImage implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 2465367135579314087L;
	@Id
	private Integer id;
	private String activityId;
	private String imagePath;
	private String description;
	private Integer orderIndex;

	// Constructors

	// Property accessors
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
  	@Column(name = "id", unique = true, nullable = false)
    public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	
	@Column(name = "activity_id", nullable = false, length = 33)
	public String getActivityId() {
		return activityId;
	}
	public void setActivityId(String activityId) {
		this.activityId = activityId;
	}
	
	@Column(name = "image_path", nullable = false, length = 255)
	public String getImagePath() {
		return imagePath;
	}

	public void setImagePath(String imagePath) {
		this.imagePath = imagePath;
	}
	
	@Column(name = "description", length = 255)
	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	@Column(name = "order_index", length = 5)
	public Integer getOrderIndex() {
		return orderIndex;
	}

	public void setOrderIndex(Integer orderIndex) {
		this.orderIndex = orderIndex;
	}
}